package org.javaboy.remember_me_demo.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.javaboy.remember_me_demo.model.User;

@Mapper
public interface UserMapper {
    User loadUserByUsername(String username);

    void updatePassword(@Param("username") String username, @Param("newPassword") String newPassword);
}
